package com.whnk.model.mapper;

import java.util.List;
import com.whnk.model.domain.DefTIndexinfo;

/**
 * 指标定义Mapper接口
 * 
 * @author whnk
 * @date 2021-08-31
 */
public interface DefTIndexinfoMapper 
{
    /**
     * 查询指标定义
     * 
     * @param id 指标定义主键
     * @return 指标定义
     */
    public DefTIndexinfo selectDefTIndexinfoById(Long id);

    /**
     * 查询指标定义列表
     * 
     * @param defTIndexinfo 指标定义
     * @return 指标定义集合
     */
    public List<DefTIndexinfo> selectDefTIndexinfoList(DefTIndexinfo defTIndexinfo);

    /**
     * 新增指标定义
     * 
     * @param defTIndexinfo 指标定义
     * @return 结果
     */
    public int insertDefTIndexinfo(DefTIndexinfo defTIndexinfo);

    /**
     * 修改指标定义
     * 
     * @param defTIndexinfo 指标定义
     * @return 结果
     */
    public int updateDefTIndexinfo(DefTIndexinfo defTIndexinfo);

    /**
     * 删除指标定义
     * 
     * @param id 指标定义主键
     * @return 结果
     */
    public int deleteDefTIndexinfoById(Long id);

    /**
     * 批量删除指标定义
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDefTIndexinfoByIds(Long[] ids);
}
